package com.meiqiongproperty.yiguanjia.activity;

import android.content.Intent;
import android.os.Bundle;

import com.meiqiongproperty.yiguanjia.fragment.user.LoginFragment;
import com.meiqiongproperty.yiguanjia.ui.dialog.FragmentExchangeController;
import com.meiqiongproperty.yiguanjia.utils.LogUtil;

/**
 * @version V1.0
 * @packge com.meiqiongproperty.yiguanjia.activity
 * @User ChenJing
 * @Date 2017/5/22
 */

public class LoginActivity extends BaseFragmentActivity {
    LoginFragment fragment;

    @Override
    protected void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        fragment = new LoginFragment();
        FragmentExchangeController.initFragment(getSupportFragmentManager(), fragment, fragment.getTagName());
    }

    @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        LogUtil.d("LoginActivity---onActivityResult:" + requestCode + "," + resultCode);
        super.onActivityResult(requestCode, resultCode, data);
    }
}

